#pragma once
#include <stdint.h>

/*===========================================================================
 * Struct
 ===========================================================================*/
typedef struct
{
    uint32_t total_size;     ///< memory heap total size
    uint32_t avail_size;     ///< available size. The actual allocatable size may be less than this
    uint32_t max_block_size; ///< maximum allocatable block size
} ql_memory_heap_state_t;

typedef enum
{
    QL_DEV_CFUN_MIN = 0,
    QL_DEV_CFUN_FULL = 1,
    QL_DEV_CFUN_AIR = 4,
} ql_dev_cfun_e;

